package org.cadad.models;

import java.util.ArrayList;

public class Item {

//		TODO cambiar este tipo que diferencia entre los objectos ida y vuelta, por una clase intermedia.
	public String type;
	public String title;
	public ArrayList<String> weekAvailable;

	public Item(){
		this.type = new String();
		this.title = new String();
		this.weekAvailable = new ArrayList<String>();
	}
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public ArrayList<String> getWeekAvailable() {
		return weekAvailable;
	}

	public void setWeekAvailable(ArrayList<String> weekAvailable) {
		this.weekAvailable = weekAvailable;
	}
	
	public void addDayToWeekAvailable(String day){
		weekAvailable.add(day);
	}
	
	public void removeDayToWeekAvailable(String day){
		weekAvailable.remove(day);
	}
	



}
